import { 
  Select, 
  Option, 
  OptionGroup, 
  Input ,
  DropdownMenu,
  DropdownItem,
  Submenu,
  MenuItem,
  MenuItemGroup,
  DatePicker,
  Checkbox,
  Button,
  Table,
  TableColumn,
  Breadcrumb,
  BreadcrumbItem,
  Card,
  MessageBox,
  Message,
  Radio,
  Upload,
  Pagination,
  Loading,
  Alert,
  Progress ,
  Tooltip,
  Switch,
  Tabs,
  Cascader,
  Transfer,
  InputNumber,
  Menu,} from 'element-ui';
const element = {
  install: function (Vue) {
    Vue.use(Select)
    Vue.use(Option)
    Vue.use(OptionGroup)
    Vue.use(Input)
    Vue.use(DropdownMenu)
    Vue.use(DropdownItem)
    Vue.use(Menu)
    Vue.use(Submenu)
    Vue.use(MenuItem)
    Vue.use(DatePicker)
    Vue.use(Checkbox)
    Vue.use(MenuItemGroup)
    Vue.use(Button)
    Vue.use(Table)
    Vue.use(TableColumn)
    Vue.use(Breadcrumb)
    Vue.use(BreadcrumbItem)
    Vue.use(Card)
    Vue.use(Radio)
    Vue.use(Upload)
    Vue.use(Pagination)
    Vue.use(Loading)
    Vue.use(Alert)
    Vue.use(Progress)
    Vue.use(Tooltip)
    Vue.use(Switch)
    Vue.use(Tabs)
    Vue.use(Transfer)
    Vue.use(Cascader)
    Vue.use(InputNumber)
    Vue.component(MessageBox.name, MessageBox);
    Vue.prototype.$loading = Loading.service;
    Vue.prototype.$message = Message;
    Vue.prototype.$confirm = MessageBox.confirm;
    Vue.prototype.$alert = MessageBox.alert;
    Vue.prototype.$prompt = MessageBox.prompt;
    Vue.component(Message.name, Message);
  }
}
export default element